@import "./mixins.scss";
@import "./custom.light.scss";
@import "./custom.dark.scss";

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

#root {
  height: 100%;
}

a {
  color: var(--a);
}

.panel {
  background: #fff;
  border-radius: 4px;
}

.adm-btn-primary {
  width: 160px;
  height: 32px;
  background: #1c70de;
  color: #fff;

  &:hover,
  &:active,
  &:focus {
    background: #1c70de;
    color: #fff;
  }
}

.panel-tabs {
  ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    height: 32px;

    li {
      min-width: 150px;
      padding: 0 15px;
      height: 100%;
      text-align: center;
      line-height: 32px;
      cursor: pointer;

      background-color: var(--tabs-item-bg);
      color: var(--tabs-item-color);
      border: 1px solid var(--tabs-item-border);
    }

    .active {
      background-color: var(--tabs-active-bg);
      color: var(--tabs-active-color);
      border: none;
      border-top: 3px solid var(--tabs-active-color);

      .red {
        color: #fb6767;
      }

      .green {
        color: #35bc62;
      }
    }
  }
}

.cc-form-radio {
  .cc-form-name {
    margin-bottom: 10px;
  }

  .cc-form-content {
    height: 32px;
    display: flex;
    align-items: center;

    .ant-radio-wrapper-checked {
      color: var(--a);
    }
  }
}

.adm-tabs {
  .ant-tabs-nav {
    margin: 0;

    .ant-tabs-tab {
      padding: 10px 20px;

      &+.ant-tabs-tab {
        margin: 0;
      }
    }
  }
}

.adm-btn-reset {
  background: #9fa2b4 !important;
  color: #fff !important;

  &:hover,
  &:active {
    background: #9fa2b4;
    color: #fff;
  }
}

.no-data {
  background: url(../images/no-data.png) no-repeat;
  width: 220px;
  height: 220px;
  padding-top: 195px;
  text-align: center;
  color: var(--color-text);
  margin: 0 auto;
}

.ant-image-preview-operations-progress {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}
.ant-image-preview-img {
  max-width: 60%;
  max-height: 60%;
}
//图片展示antd
.ant-image-preview-mask{
  background-color: rgba(28,29,31,.70);
}
  .ant-image-preview-body{
    .ant-image-preview-operations{
      .ant-image-preview-operations-progress{
        font-size: 28px;
      }
    }
    .ant-image-preview-switch-left{
      background: rgba(50,131,320,.41);
      color: #fff;
      left: 23%;
      height: 66px;
      width: 66px;
    }
    .ant-image-preview-switch-right{
      right: 23%;
      background: rgba(50,131,320,.41);
      color: #fff;
      height: 66px;
      width: 66px;
    }
  }
  .form-common {
    margin-top: 20px;
   
   
  }
  
#webpack-dev-server-client-overlay {
  display: none !important;
}